package com.henan.provideservice.api.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class SsePageResponse<T> {
    private List<T> data;    // 当前批次数据
    private int currentPage; // 当前页码
    private int totalPages;  // 总页数
    private long totalRecords; // 总记录数
    private int pageSize;    // 每页大小
}
